#include "weapons.h"
#include <SFML\Graphics\Sprite.hpp>

#pragma region Base
/*
weapons::weapons() {
}
weapons::~weapons() {
}
*/
#pragma endregion

#pragma region Base
/*
void weapons::initialize(sf::RenderWindow* window, EnemyManager* enyman) {	
	m_renderWindow = window;
	machinegunTexture.loadFromFile("bilder/weapons/ak47.png");
	shotgunTexture.loadFromFile("bilder/weapons/shotgun.png");
	shotgunSprite.setTexture(shotgunTexture);
	machinegunSprite.setTexture(machinegunTexture);
	shotgunSprite.setPosition(-1000,-1000);
	machinegunSprite.setPosition(-1000,-1000);

	*/
	/*
	weaponImg = new sf::Texture();
	if (weaponnumber == 1) {
		weaponImg->loadFromFile("bilder/weapons/gun.png");
	}
	if (weaponnumber == 2) {
		weaponImg->loadFromFile("bilder/weapons/shotgungun.png");
	}
	if (weaponnumber == 3) {
		weaponImg->loadFromFile("bilder/weapons/machinegun.png");
	}

	weaponsSprite = new sf::Sprite();
	weaponsSprite->setTexture(*weaponImg);
	*/
/*
}

void weapons::update() {
	m_renderWindow->draw(shotgunSprite);
	m_renderWindow->draw(machinegunSprite);


	//m_renderWindow->draw(*weaponsSprite);
}

void weapons::cleanup() {
	//delete weaponsSprite;
	//delete weaponImg;
}

void weapons::setPositionShotgun(float PosX, float PosY) {
	shotgunSprite.setPosition(PosX, PosY);
};

void weapons::setPositionMachinegun(float PosX, float PosY) {
	machinegunSprite.setPosition(PosX, PosY);
};
*/
#pragma endregion